/*
 * @LastEditors: 杜康
 * @LastEditTime: 2021-09-29 14:46:24
 */
interface Person {
    name: string
    age: number
}

function printName(person: Person) {
    console.log(person.name)
}